<?php

class IllegalEntityException extends Exception {
	private $entity;
	
	public function __construct($entity) {
		parent::__construct ( "The entity " . $entity . " is invalid in this Database Manager!" );
	}
	public function getEntity(){
		return $this->entity;
	}
	public function setEntity($entity){
		$this->entity = $entity;
	}
}
?>